VtGetValues


Return the value of a specified option for a given widget

Syntax

VtGetValues widgetName [option]

Description

Returns the value of the specified option for the given widget. Only options which have a "G" next to the option name in the command reference can be retrieved with VtGetValues. Only one option can be retrieved at a time.

Options

A valid option for the specified widget.

Example

set label [VtGetValues $myLabel -label]

Returns the label string for the widget $myLabel.

See also VtSetValues.